package com.jd.service;

import com.jd.entity.Book;

import java.util.List;

public interface BookService {

    List<Book> selectAllBooks();

    Book selectBookById(int id);

    Boolean deleteBookById(int id);

    Boolean insertBook(Book book);

    Boolean updateBook(Book book);

    List<Book> selectBookByName(String bookName);
}
